import axios from '@/utils/request';
const baseURL = process.env.VUE_APP_COMMON_API;

// 获取搜素列表
const searchList = params => {
  return axios.request({
    method: 'get',
    url: baseURL + '/search/getSearchList',
    params,
    headers: {
      hideLoading: true //是否显示loading
    }
  });
};

export { searchList };
